a194fcaf292677001e5e631dd3505a04c8039bdf,tests/domain-tests/src/test/java/org/wildfly/plugin/deployment/UndeploymentMatchTest.java,UndeploymentMatchTest,undeployFirstMultiServerGroup,#,91

Before Change


            deploymentManager.deploy(DEPLOYMENT_NAME_1, serverGroups, getDeployment());
        }
        if (!deploymentManager.isDeployed(DEPLOYMENT_NAME_2, serverGroup)) {
            deploymentManager.deploy(DEPLOYMENT_NAME_2, serverGroups, getDeployment());
        }
        // Set up the other-server-group servers to ensure the full deployment process works correctly
        final ModelNode op = ServerOperations.createOperation("start-servers", ServerOperations.createAddress(ClientConstants.SERVER_GROUP, "other-server-group"));

After Change


            Assert.assertTrue(result.getFailureMessage(), result.successful());
        }
        if (!deploymentManager.hasDeployment(DEPLOYMENT_NAME_2, serverGroup)) {
            final DeploymentResult result = deploymentManager.forceDeploy(getDeployment().setName(DEPLOYMENT_NAME_2).addServerGroup(serverGroup));
            Assert.assertTrue(result.getFailureMessage(), result.successful());
        }
        // Set up the other-server-group servers to ensure the full deployment process works correctly